<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>轮播图</title>
    <link rel="stylesheet" href="./demo8.css">
</head>
<body>
<div class="carousel">
    <div class="slide">
        <div class="slide-item">
            <img src="img/lunbo1.jpg">
        </div>
        <div class="slide-item">
            <img src="img/lunbo2.jpg">
        </div>
        <div class="slide-item">
            <img src="img/lunbo3.jpg">
        </div>
</div>
    <div class="btn-wrapper">
        <div class=" btn left-btn">&lt;</div>
        <div class="btn right-btn">&gt;</div>
    </div>

    <div class="indicator">
        <div class="item active"></div>
        <div class="item"></div>
        <div class="item"></div>
    </div>
</div>
<script src="demo8.js"></script>
</body>
</html>
